import elementIcons from './SvgIcon/svgicon'
import SvgIcon from './SvgIcon'
import HSearch from './HSearch'
import HSearchBar from './HSearchBar'
import hTable from './HTable'
import Pagination from './Pagination'
import HPreviewImage from './HPreviewImage'
import ECharts from './ECharts'

/**
 * setupComponents 全局注册组件
 */
export default {
    install(app) {
        app.use(elementIcons)
        app.component('svg-icon', SvgIcon)
        app.component('h-table', hTable)
        app.component('h-search', HSearch)
        app.component('h-search-bar', HSearchBar)
        app.component('Pagination', Pagination)
        app.component('h-preview-image', HPreviewImage)
        app.component('h-chart', ECharts)

    }
}
